#define _CRT_SECURE_NO_WARNINGS
#include"Heap.h"

void test01()
{
	Heap hp;
	HeapInit(&hp);
	HeapPush(&hp, 10);
	HeapPush(&hp, 20);
	HeapPush(&hp, 9);
	HeapPush(&hp, 2);
	HeapPush(&hp, 14);
	HeapPush(&hp, 58);
	HeapPush(&hp, 21);
	HeapPush(&hp, 11);
	HeapPrint(&hp);
	HeapPop(&hp);
	HeapPrint(&hp);
	
	HeapDestroy(&hp);
}
int main()
{
	test01();
	return 0;
}